﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Messhall.Application.Dto
{
    public class PagingResponseBase<TModel>
    {
        /// <summary>
        /// 当前页码数
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 当前也总数
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 返回数据
        /// </summary>
        public List<TModel> Data { get; set; }

        /// <summary>
        /// 分页总行数
        /// </summary>
        public int TotalCount { get; set; }

    }
}
